#!/bin/bash

docker stop redis
docker rm redis
docker run -idt -p 6399:6379 --name redis --restart=always \
    -v `pwd`/redis.conf:/etc/redis.conf \
    -v /home/data/redis/data/:/data \
    -e TZ="Asia/Shanghai" \
    redis:5.0.4 redis-server /etc/redis.conf \

